/** 弹幕主体 */
.barrage-main{
    position: relative;
    max-width: 100%;
    min-height: 100%;
    font-size: 16px;
    overflow: hidden;
    user-select: none;
}

/** 弹幕文字 */
.barrage-screen > div {
    position: fixed;
    height: 40px;
    align-items: center;
    display: flex;
    border-radius: 20px;
}

/** 弹幕头像 */
.barrage-screen > div > .barrageImg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/** 弹幕文字 */
.barrage-screen > div > span {
    line-height: 40px;
    margin-left: 10px;
    margin-right: 20px;
    color: #ffffff;
    white-space: nowrap;
    font-size: 1em;
}

/** 弹幕小字体 */
.barrage-screen > div.small {
    font-size: 0.8em;
}

/** 弹幕大字体 */
.barrage-screen > div.big {
    font-size: 1.3em;
}


/** 发送弹幕 */
.barrageSend {
    position: absolute;
    width: 500px;
    height: 300px;
    bottom: 4em;
    right: 4em;
    padding: 1em;
    border-radius: 3em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to top, #F3E7E9 0%, #E3EEFF 99%, #E3EEFF 100%);
    box-shadow: 0 0 1em #E3EEFF;
    opacity: 1;
    transition: 0.5s;
}

.barrageSend > * {
    margin: 1em;
    display: block;
    transition: 0.8s;
}
.barrageSend > div{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.barrageSend > div:nth-of-type(1) {
    height: 2em;
}
.barrageSend > div:nth-of-type(2) {
    height: 3.2em;
}
.barrageSend > div:nth-of-type(3) {
    height: 1.2em;
    justify-content: space-evenly;
}
.barrageSend > div:nth-of-type(3) > div,
.barrageSend > div:nth-of-type(3) > div > div,
.barrageSend .sizeBox {
    display: flex;
    align-items: center;
}

.barrageSend .title{
    margin-right: 0.5em;
}
.barrageSend .title.fix{
    width: 4.5em;
    text-align: right;
}
.barrageSend .sizeBox span {
    margin-right: 0.5rem;
    padding: 0.2rem 1rem;
    line-height: 100%;
    font-size: 1em;
    display: inline-block;
    transition: 0.3s;
}
.barrageSend .sizeBox span.active {
    background: #CCC;
    border-radius: 0.25rem;
}
.barrageSend .sizeBox span.small {
    font-size: 0.8em;
}
.barrageSend .sizeBox span.big {
    font-size: 1.3em;
}

.barrageSend input[type="text"], .barrageSend textarea {
    min-width: 75%;
    padding: 0.5em;
    border-radius: 0.5em;
    border: none;
    resize: none;
}
.barrageSend button {
    padding: 0.5em 2em;
    border: none;
    border-radius: 1em;
    color: white;
    background: #6495ed;
    box-shadow: 0 0 0.5em #88a9e7;
    transition: all 0.8s, background 0.2s;
}
.barrageSend button:active {
    background: #4779d6;
}
